<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>秭归县委党校智慧校园管理系统</title>
<link rel="stylesheet" href="static/layui/css/layui.css">
<link rel="stylesheet" href="static/layui/css/admin.css">
<link rel="stylesheet" href="static/jquery-ui-1.11.4/jquery-ui.css">
<link rel="stylesheet"
	href="http://at.alicdn.com/t/font_949625_3t06xc90k9c.css"
	type="text/css">
<style>
html, body {
	height: 100%;
	width: 100%;
}

iframe {
	display: block; /* iframes are inline by default */
	background: #000;
	border: none; /* Reset default border */
	height: 100vh; /* Viewport-relative units */
	width: 100vw;
}

.selected {
	/* background-color: #00801c61; */
	background-color: #f2f2f2;
}
</style>

</head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header1 layui-header" style="height: 60px;">
			<div class="layui-logo" style="width: 250px">
				<img alt="" src="static/images/logo.png">
			</div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			<!--   <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">控制台</a></li>
      <li class="layui-nav-item"><a href="">商品管理</a></li>
      <li class="layui-nav-item"><a href="">用户</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
    </ul> -->
			<ul class="layui-nav layui-nav2 layui-layout-right">
				<li class="layui-nav-item"><a href="javascript:;"> <img
						src="static/images/username.png" class="layui-nav-img"> <span><sec:authorize
								access="hasRole('ROLE_DIY')">开发者</sec:authorize></span> <span><sec:authorize
								access="!hasRole('ROLE_DIY')">
								<sec:authentication property="principal.name" />
							</sec:authorize></span>
				</a> <sec:authorize
						access="hasRole('ROLE_ADMIN') and !hasRole('ROLE_DIY')">
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" onclick="datum()">基本资料</a>
							</dd>
							<dd>
								<a href="javascript:;">安全设置</a>
							</dd>
						</dl>
					</sec:authorize> <sec:authorize
						access="!hasRole('ROLE_DIY') and !hasRole('ROLE_ADMIN')">
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;">基本资料</a>
							</dd>
							<dd>
								<a href="javascript:;">安全设置</a>
							</dd>
						</dl>
					</sec:authorize></li>
				<li class="layui-nav-item"><a href="logout">退出</a></li>
			</ul>
		</div>

		<div class="layui-side layui-bg-red">
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav1 layui-nav-tree" lay-shrink="all"
					lay-filter="test">
					<sec:authorize
						access="hasRole('ROLE_TEACHER') or hasRole('ROLE_ADMIN')">
						<li class="layui-nav-item layui-nav-itemed"><a
							href="javascript:;"><i class="layui-icon layui-icon-user"
								style="font-size: 18px;"></i><cite>学员管理</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('student/manage')">学员信息</a>
								</dd>
								<dd>
									<a href="javascript:;" onclick="pages('studentAssess/manage')">学员考核信息</a>
								</dd>
								<dd>
									<a href="javascript:;"
										onclick="pages('assessmentInformation/manage')">考核信息</a>
								</dd>
							</dl></li>
					</sec:authorize>
					<sec:authorize
						access="hasRole('ROLE_TEACHER') or hasRole('ROLE_ADMIN') or hasRole('ROLE_STUDENT')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-template-1"
								style="font-size: 18px;"></i><cite>班级管理</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('tbClass/manage')">班级管理</a>
								</dd>
								<dd>
									<a href="javascript:;" onclick="pages('management/manage')">班务管理</a>
								</dd>
								<dd>
									<a href="javascript:;" onclick="pages('activityClass/manage')">班级活动</a>
								</dd>
							</dl></li>

					</sec:authorize>
					<sec:authorize
						access="hasRole('ROLE_TEACHER') or hasRole('ROLE_ADMIN')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-read" style="font-size: 18px;"></i><cite>课程管理</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('tbCurriculum/manage')">课程信息</a>
								</dd>
								<dd>
									<a href="javascript:;" onclick="pages('curriculumPlan/manage')">课程安排</a>
								</dd>
								<dd>
									<a href="javascript:;"
										onclick="pages('evaluationInformation/manage')">课程评价</a>
								</dd>
							</dl></li>
					</sec:authorize>

					<sec:authorize access="hasRole('ROLE_STUDENT')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-read" style="font-size: 18px;"></i><cite>课程管理</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;"
										onclick="pages('evaluationInformation/manage')">课程评价</a>
								</dd>
							</dl></li>
					</sec:authorize>

					<sec:authorize
						access="hasRole('ROLE_TEACHER') or hasRole('ROLE_ADMIN')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-username" style="font-size: 18px;"></i><cite>教师管理</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('teacher/manage')">教师信息</a>
								</dd>
								<dd>
									<a href="javascript:;"
										onclick="pages('teacherevaluation/manage')">授课评价</a>
								</dd>
							</dl></li>

					</sec:authorize>
					<sec:authorize
						access="hasRole('ROLE_TEACHER') or hasRole('ROLE_ADMIN') or hasRole('ROLE_STUDENT')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-list" style="font-size: 18px;"></i><cite>考勤管理</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('checkingin/qiandao')">考勤</a>
								</dd>
							</dl>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('checkingin/manage')">考勤记录</a>
								</dd>
							</dl></li>

					</sec:authorize>
					<sec:authorize access="hasRole('ROLE_ADMIN')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-tabs" style="font-size: 18px;"></i><cite>教学评估</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="">教学报表</a>
								</dd>
							</dl></li>

					</sec:authorize>
					<sec:authorize access="hasRole('ROLE_ADMIN')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-form" style="font-size: 18px;"></i><cite>数据字典</cite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;"
										onclick="pages('dict/tbClassState/manage')">班级状态</a>
								</dd>
								<dd>
									<a href="javascript:;"
										onclick="pages('dict/tbClassType/manage')">班级类型</a>
								</dd>
								<dd>
									<a href="javascript:;"
										onclick="pages('dict/dictionary/manage')">班级类型</a>
								</dd>
							</dl></li>

					</sec:authorize>
					<sec:authorize access="hasRole('ROLE_ADMIN')">
						<li class="layui-nav-item"><a href="javascript:;"><i
								class="layui-icon layui-icon-tips" style="font-size: 18px;"></i><cite>系统设置<c
										/ite></a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" onclick="pages('permission/manage')">权限设置</a>
								</dd>
								<dd>
									<a href="javascript:;" onclick="pages('role/manage')">角色管理</a>
								</dd>
								<dd>
									<a href="javascript:;" onclick="pages('menu/manage')">菜单管理</a>
								</dd>
							</dl></li>
					</sec:authorize>
					<li class="layui-nav-item"><a href=""><cite>屈乡论坛</cite></a></li>
				</ul>
			</div>
		</div>

		<div class="layui-body"
			style="border-top: 1px solid red; background: #f7f7f7;">
			<!-- 内容主体区域 -->
			<div id="content" style="padding: 15px;">
				<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						<div class="layui-card">
							<div class="layui-card-header">党校教务工作桌面</div>
							<div class="layui-card-body">
								<div class="layui-row layui-col-space10">
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-water"></i><a href="">发布开班通知</a>
											</div>
											<p class="layui-text-center">党校教务人员向各单位发布开班入学通知</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-upload-circle"></i><a
													href="">党校班级定义</a>
											</div>
											<p class="layui-text-center">教务管理人员定义部门办班、组织调训</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">预排课程</a>
											</div>
											<p class="layui-text-center">教务人员预排课程表</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">核准报名</a>
											</div>
											<p class="layui-text-center">教务人员审核当次班级报名人员是否准确</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">课程调整</a>
											</div>
											<p class="layui-text-center">教务人员根据系统智能提示调整课程安排</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">组建班委会</a>
											</div>
											<p class="layui-text-center">教务人员定义班委会</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">班级智能分组</a>
											</div>
											<p class="layui-text-center">教务人员根据系统预分配规则定义班级分组</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">考试安排</a>
											</div>
											<p class="layui-text-center">教务人员发布考试通知和考试安排</p>
										</div>
									</div>
									<div class="layui-col-xs12 layui-col-sm4">
										<div class="layuiadmin-card-text">
											<div class="layui-text-top">
												<i class="layui-icon layui-icon-form"></i><a href="">班级结业</a>
											</div>
											<p class="layui-text-center">录入结业成绩、发放电子结业证书</p>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>


			</div>
		</div>

		<div class="layui-footer">
			<!-- 底部固定区域 -->
			<!--  © layui.com - 底部固定区域 -->
		</div>
	</div>
	
	<script type="text/html" id="barDemo2">
  		<button class="layui-btn layui-btn-sm" lay-event="update_panel2">修改</button>
		<button class="layui-btn layui-btn-sm" lay-event="delete2">删除</button>
		<button class="layui-btn layui-btn-sm" lay-event="view2">显示</button>
	</script>
	<script src="static/js/jquery-1.12.4.min.js"></script>
	<script src="static/jquery-ui-1.11.4/jquery-ui.js"></script>
	<script src="static/layui/layui.js"></script>

	<script type="text/javascript" src="static/js/dataTable.js"></script>
	<script>
		//JavaScript代码区域
		layui.config({
			base : 'static/layui/'
		}).extend({
			treetable : 'treetable-lay/treetable'
		});

		layui.use('element', function() {
			var element = layui.element;

		});
		function pages(url) {
			$("#content").load(url);
		}
		function datum() {

		}
	</script>
</body>
</html>